﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace Validation.sp2010.WorkFlow.ValidationWorkflow
{
    public sealed partial class ValidationWorkflow
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.CodeCondition codecondition2 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.CodeCondition codecondition3 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken2 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
            this.onTaskChanged = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
            this.SendMailActivity = new System.Workflow.Activities.CodeActivity();
            this.UpdateItemHistorie = new System.Workflow.Activities.CodeActivity();
            this.whileNoTermionated = new System.Workflow.Activities.WhileActivity();
            this.CreateTask = new Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType();
            this.SendMailBranch = new System.Workflow.Activities.IfElseBranchActivity();
            this.TaskBranch = new System.Workflow.Activities.IfElseBranchActivity();
            this.logToHistory = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.ifElseTaskActivity = new System.Workflow.Activities.IfElseActivity();
            this.sequenceActivity = new System.Workflow.Activities.SequenceActivity();
            this.ChangeState = new System.Workflow.Activities.CodeActivity();
            this.whileNoTerminated = new System.Workflow.Activities.WhileActivity();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // onTaskChanged
            // 
            activitybind1.Name = "ValidationWorkflow";
            activitybind1.Path = "onTaskChanged_AfterProperties";
            activitybind2.Name = "ValidationWorkflow";
            activitybind2.Path = "onTaskChanged_BeforeProperties";
            correlationtoken1.Name = "createTaskToken";
            correlationtoken1.OwnerActivityName = "ifElseTaskActivity";
            this.onTaskChanged.CorrelationToken = correlationtoken1;
            this.onTaskChanged.Executor = null;
            this.onTaskChanged.Name = "onTaskChanged";
            activitybind3.Name = "ValidationWorkflow";
            activitybind3.Path = "CreateTask_TaskId";
            this.onTaskChanged.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.onTaskChanged_Invoked);
            this.onTaskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.AfterPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.onTaskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.BeforePropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.onTaskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // SendMailActivity
            // 
            this.SendMailActivity.Name = "SendMailActivity";
            this.SendMailActivity.ExecuteCode += new System.EventHandler(this.SendMailActivity_ExecuteCode);
            // 
            // UpdateItemHistorie
            // 
            this.UpdateItemHistorie.Name = "UpdateItemHistorie";
            this.UpdateItemHistorie.ExecuteCode += new System.EventHandler(this.UpdateItemistorie_ExecuteCode);
            // 
            // whileNoTermionated
            // 
            this.whileNoTermionated.Activities.Add(this.onTaskChanged);
            codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.TaskTerminatedCondition);
            this.whileNoTermionated.Condition = codecondition1;
            this.whileNoTermionated.Name = "whileNoTermionated";
            // 
            // CreateTask
            // 
            activitybind4.Name = "ValidationWorkflow";
            activitybind4.Path = "CreateTask_ContentTypeId";
            this.CreateTask.CorrelationToken = correlationtoken1;
            this.CreateTask.ListItemId = -1;
            this.CreateTask.Name = "CreateTask";
            this.CreateTask.SpecialPermissions = null;
            activitybind5.Name = "ValidationWorkflow";
            activitybind5.Path = "CreateTask_TaskId";
            activitybind6.Name = "ValidationWorkflow";
            activitybind6.Path = "CreateTask_TaskProperties";
            this.CreateTask.MethodInvoking += new System.EventHandler(this.CreateTask_MethodInvoking);
            this.CreateTask.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.CreateTask.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.TaskPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.CreateTask.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.ContentTypeIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // SendMailBranch
            // 
            this.SendMailBranch.Activities.Add(this.SendMailActivity);
            this.SendMailBranch.Name = "SendMailBranch";
            // 
            // TaskBranch
            // 
            this.TaskBranch.Activities.Add(this.CreateTask);
            this.TaskBranch.Activities.Add(this.whileNoTermionated);
            this.TaskBranch.Activities.Add(this.UpdateItemHistorie);
            codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.IsTaskCondition);
            this.TaskBranch.Condition = codecondition2;
            this.TaskBranch.Name = "TaskBranch";
            // 
            // logToHistory
            // 
            this.logToHistory.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistory.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            activitybind7.Name = "ValidationWorkflow";
            activitybind7.Path = "logToHistory_HistoryDescription";
            activitybind8.Name = "ValidationWorkflow";
            activitybind8.Path = "logToHistory_HistoryOutcome";
            this.logToHistory.Name = "logToHistory";
            this.logToHistory.OtherData = "";
            this.logToHistory.UserId = -1;
            this.logToHistory.MethodInvoking += new System.EventHandler(this.logToHistory_MethodInvoking);
            this.logToHistory.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            this.logToHistory.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            // 
            // ifElseTaskActivity
            // 
            this.ifElseTaskActivity.Activities.Add(this.TaskBranch);
            this.ifElseTaskActivity.Activities.Add(this.SendMailBranch);
            this.ifElseTaskActivity.Name = "ifElseTaskActivity";
            // 
            // sequenceActivity
            // 
            this.sequenceActivity.Activities.Add(this.ifElseTaskActivity);
            this.sequenceActivity.Activities.Add(this.logToHistory);
            this.sequenceActivity.Name = "sequenceActivity";
            // 
            // ChangeState
            // 
            this.ChangeState.Name = "ChangeState";
            this.ChangeState.ExecuteCode += new System.EventHandler(this.ChangeState_ExecuteCode);
            // 
            // whileNoTerminated
            // 
            this.whileNoTerminated.Activities.Add(this.sequenceActivity);
            codecondition3.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.TerminateStepsCondition);
            this.whileNoTerminated.Condition = codecondition3;
            this.whileNoTerminated.Name = "whileNoTerminated";
            activitybind10.Name = "ValidationWorkflow";
            activitybind10.Path = "workflowId";
            // 
            // onWorkflowActivated1
            // 
            correlationtoken2.Name = "workflowToken";
            correlationtoken2.OwnerActivityName = "ValidationWorkflow";
            this.onWorkflowActivated1.CorrelationToken = correlationtoken2;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            activitybind9.Name = "ValidationWorkflow";
            activitybind9.Path = "workflowProperties";
            this.onWorkflowActivated1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.onWorkflowActivated1_Invoked);
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
            // 
            // ValidationWorkflow
            // 
            this.Activities.Add(this.onWorkflowActivated1);
            this.Activities.Add(this.whileNoTerminated);
            this.Activities.Add(this.ChangeState);
            this.Name = "ValidationWorkflow";
            this.CanModifyActivities = false;

        }

        #endregion

        private CodeActivity SendMailActivity;

        private WhileActivity whileNoTermionated;

        private CodeActivity ChangeState;

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logToHistory;

        private SequenceActivity sequenceActivity;

        private CodeActivity UpdateItemHistorie;

        private Microsoft.SharePoint.WorkflowActions.OnTaskChanged onTaskChanged;

        private Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType CreateTask;

        private IfElseBranchActivity SendMailBranch;

        private IfElseBranchActivity TaskBranch;

        private IfElseActivity ifElseTaskActivity;

        private WhileActivity whileNoTerminated;

        private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1;

























































    }
}
